<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateShopInfoTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('shop_info', function (Blueprint $table) {
            $table->increments('id');
            $table->string('s_user_nick')->nullable()->comment('账号昵称');
            $table->string('s_user_id')->nullable()->comment('账号昵称');
            $table->string('open_uid')->nullable()->comment('账号昵称');
            $table->string('expire_time')->nullable()->comment('accesstoken');
            $table->string('access_token')->nullable()->comment('accesstoken');
            $table->string('refresh_token')->nullable()->comment('accesstoken');
            $table->string('token_type')->nullable()->comment('accesstoken');
            $table->string('type')->nullable()->comment('accesstoken');
            $table->timestamps();
            $table->softDeletes();
        });

//        Schema::create('shop_auth', function (Blueprint $table) {
//            $table->increments('id');
//            $table->string('question')->nullable()->comment('问题');
//            $table->timestamps();
//            $table->softDeletes();
//        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
